package cn.com.self.apis.portal.service.intf;

import cn.com.self.apis.portal.entity.SysUserEntity;
import cn.com.self.apis.portal.entity.SysUserRoleEntity;
import cn.com.self.apis.portal.util.ICustomPage;
import cn.com.selfsoft.smartcity.core.service.GenericService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
 * @Description
 */
public interface ISysUserRoleService extends GenericService<SysUserRoleEntity, String, SysUserRoleEntity> {
    /**获取已授权用户
     * @Description //TODO
     * @return
     **/
    ICustomPage<SysUserEntity> selectPage(Map<String, Object> queryParams, Page pageable);

    /**获取未授权用户
     * @Description //TODO
     * @return
     **/
    ICustomPage<SysUserEntity> ntgranuserpage(Map<String, Object> queryParams, Page pageable);

    /**用户角色授权
     * @Description //TODO
     * @return
     **/
    void grantUser(List<SysUserRoleEntity> list);
    /**
     * 批量删除
     * @param list
     * @return
     */
    void deletes(List<SysUserRoleEntity> list);


}
